package cn.kpi.dao.attendance;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.kpi.common.persistence.MyBatisDao;
import cn.kpi.entity.attendance.AttDetailEntity;
import cn.kpi.entity.attendance.AttSummaryEntity;

@MyBatisDao
public interface AttBmHzDao {
public List<AttDetailEntity> GetAttDetailBySummayId(@Param("attsummaryid")Long attsummaryid,@Param("orgsummaryid")Long orgsummaryid)throws Exception;
public int UpdateDetailBatch(List<AttDetailEntity> list)throws Exception;
public int UpdateAttBmHzSummary(AttSummaryEntity entity)throws Exception;

public int UpdateAttOrgSummaryStatus(@Param("orgsummaryid")Long orgsummaryid,@Param("status")int status)throws Exception;
public int UpdateAttSummaryStatus(@Param("orgsummaryid")Long orgsummaryid,@Param("status")int status)throws Exception;
public int UpdateAttDetailStatus(@Param("orgsummaryid")Long orgsummaryid,@Param("status")int status)throws Exception;

public int GetQqDaysByYearAndMonth(@Param("year")int year,@Param("month")int month)throws Exception;
}
